package main

import (
  "sdl"
//  "log"
)

type Window interface {

  getX() int
  setX(x int)
  getY() int
  setY(y int)
  getWidth() int
  getHeight() int
  
  getParent() Window  
  getSubwindows() []Window
  
  getWidgetAt(x int, y int) Window
  
  pointerDragged(x, y int)
  pointerPressed(x, y int)
  pointerReleased(x, y int)
  
  keyPressed(key int)
  keyReleased(key int)
  
  draw(surface *sdl.Surface)
  update()
}

